Determining The Regularity Of A Rhythm